﻿<div id="dialogContent" class="js-frm container centerBlock"
data-ctrl='{"NewRec":1,"Source":"proc_InsPolicies","tblUpdate":"tblInsPolicies"}'>@*@((Model.NewRec == 1) ? "" : ",\"id\":" + Model.Vehicle.ID)*@

   @* laikinai paslepta temporarilly hidden http://zalukontrole.lt/issues/view.php?id=187
   <ul class="Tabs">
      <li><a href="#tabs-policy">Polisas ir draudėjas</a></li>
      <li><a href="#tabs-docs">Pateikiami dokumentai</a></li>
   </ul>
   *@
   
   
<!--    <div class='ExtendIt leftBlock' data-ctrl='{"Field":"TypeID","classes":{"span":"w30pr","input":"w70pr"}}'></div>
 -->   
   
   <div id="tabs-policy" style="padding:14px;padding-bottom:0;">
		<div class="container pad-b10 mar-b20 border-bot-gray">
			<h5>Draudimo poliso duomenys</h5>
         <div class='left w45pr'>
            <div class='ExtendIt leftBlock' data-ctrl='{"Field":"ClaimTypeID","classes":{"span":"w40pr","input":"w60pr"},"labelType":"Left","List":{"excludeFromList":[0,6]}}'></div>
            <div class='ExtendIt leftBlock' data-ctrl='{"Field":"PolicyNumber","classes":{"span":"w40pr","input":"w60pr"},"labelType":"Left"}'></div>
         </div>
         <div class='right w45pr'>
            <div class='ExtendIt leftBlock' data-ctrl='{"Field":"InsurerID","classes":{"span":"w40pr","input":"w60pr"},"labelType":"Left"}'></div>
            <div class='ExtendIt leftBlock' data-ctrl='{"Field":"EndDate","classes":{"span":"w40pr","input":"w60pr"},"labelType":"Left","Plugin":{"datepicker":{}}}'></div>
         </div>
		</div>

		<div class="container pad-b10 mar-b20 border-bot-gray text">
			<h5>Žalų reguliavimo nustatymai</h5>
			<div class="pad-vertical-8px lheight26 relative absolute-errors">
				<span>Pateikti visus žalos dokumentus draudikui per</span><span class='ExtendIt leftBlock inputInLine short-child-input' data-ctrl='{"Field":"warn_DocsAfterAccTerm"}'></span><span>d. nuo įvykio datos.</span>
			</div>

			<div class="pad-vertical-8px lheight26 relative absolute-errors">
				<span>Pradėti rodyti įspėjimą likus</span><span class='ExtendIt leftBlock inputInLine short-child-input' data-ctrl='{"Field":"warn_DocsSupplyTermExpire"}'></span><span>d. iki žalos dokumentų draudikui pateikimo termino pabaigos.</span>
			</div>

			<div class="pad-vertical-8px lheight26 relative absolute-errors">
				<span>Draudimo išmoka turi būti sumokėta per</span><span class='ExtendIt leftBlock inputInLine short-child-input' data-ctrl='{"Field":"warn_PaymentTerm"}'></span><span>d. nuo dokumentų pateikimo datos.</span>
			</div>
		</div>

		@*
         laikinai paslepta temporarilly hidden http://zalukontrole.lt/issues/view.php?id=187

      <div class="container pad-b10 mar-b20 border-bot-gray">
			<h5>Pranešimo draudimo kompanijai apie žalą nustatymai</h5>
<!--          <center> </center>"classes":{"span":"w30pr","input":"w70pr"},
 -->     <div class='ExtendIt leftBlock' data-ctrl='{"Field":"MailsAddresses","labelType":"Top","textAreaRows":2,"classes":{"input":"row"}}'></div>
        
         <div class='left w45pr'>
            <div class='ExtendIt leftBlock' data-ctrl='{"Field":"InsuredName","classes":{"span":"w30pr","input":"w70pr"},"labelType":"Left"}'></div>
            <div class='ExtendIt leftBlock' data-ctrl='{"Field":"InsuredAddress","classes":{"span":"w30pr","input":"w70pr"},"labelType":"Left"}'></div>
         </div>
         <div class='right w45pr'>
            <div class='ExtendIt leftBlock' data-ctrl='{"Field":"InsuredCode","classes":{"span":"w30pr","input":"w70pr"},"labelType":"Left"}'></div>
            <div class='ExtendIt leftBlock' data-ctrl='{"Field":"InsuredContactID","classes":{"span":"w30pr","input":"w70pr"},"labelType":"Left"}'></div>
         </div>
		</div>
      *@

   </div>
   <!------------------------------------------------------------------------------->
   <div id="tabs-docs"></div>
</div>
{{view App.FormBottomView target="App.listAllController"}}
@*<center style="margin: 2em 0;"><button id="btnSaveItem" class="btn btnSave">Išsaugoti</button><a style="margin-left: 2%;" id="aCancelItem" >Atšaukti</a></center>
*@
